#!/bin/sh
#desc:Day view
#package:odchronos
#type:local

# Copyright(c) 2011 OpenDomo Services SL. Licensed under GPL v3 or later

if test -z "$1"; then
	# Without params, we take the current day
	DAY=`date +%d`
	MONTH=`date +%m`
	YEAR=`date +%Y`
else
	DAY=`echo $1|cut -f1 -d'-'`
	MONTH=`echo $1|cut -f2 -d'-'`
	YEAR=`echo $1|cut -f3 -d'-'`
fi

echo "list:showCalendarDay.sh"
for HOUR in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23; do
	echo "	$HOUR-00	$HOUR:00	Hour"
done
echo
